<?php
$this->breadcrumbs=array(
	Yii::t('category','Categories')=>array('admin'),
	$model->name,
);

$this->menu=array(
	array('label'=>'Update Category','url'=>array('update','id'=>$model->id)),
	array('label'=>'Delete Category','url'=>'#','linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>Yii::t('notices','Are you sure you want to delete this item?'))),
);
?>

<h1><?php echo Yii::t('category','View Category {primaryKey}',array('{primaryKey}'=>$model->id)); ?></h1>

<?php $this->widget('bootstrap.widgets.TbDetailView',array(
	'data'=>$model,
	'attributes'=>array(
		'name',
		array(
			'name'=>'type_id',
			'value'=>$model->type->name
		),
		'status',
		'description',
		'image',
		array(
            'name'=>'create_time',
            'type'=>'datetime'
        ),
		array(
            'name'=>'update_time',
            'type'=>'datetime'
        ),
	),
)); ?>
